package org.mech.sefer.client.ui.task.callback;

import org.mech.sefer.event.bus.EventBus;

public abstract class DefaultTaskCallback<T> implements TaskCallback<T> {

	private EventBus eventBus;
	
	public DefaultTaskCallback(EventBus bus) {
		this.eventBus = bus;
	}

	@Override
	public void onFailed(Throwable throwable) {
		
	}

	public EventBus getEventBus() {
		return eventBus;
	}

	public void setEventBus(EventBus eventBus) {
		this.eventBus = eventBus;
	}

}
